package mn.more.wits.client.util;

import com.google.gwt.user.client.Element;

/**
 * @author $Author: mikeliucc $
 * @version $Revision: 119 $
 */
public final class BrowserUtil {

	private BrowserUtil() {
	}

	public static native void hide(Element element)/*-{
  element.style.visibility = "hidden";
  element.style.display = "none";
 }-*/;

	public static native void closeBrowser()/*-{
  $wnd.close();
 }-*/;

	public static native void redirectBrowser(String url)/*-{
  $wnd.location = url;
 }-*/;
}